package com.csd.action.team;

import com.csd.helper.ActionResult;
import com.csd.serviceImpl.ProjectService;



/**
 * 
 * Action：工程申请结题
 * @author csd
 * @version 1.0
 * 
 * <br> 修订时间：2009-12-17
 * <br> 修改原因：创建文件
 * <br> 修改人：刘世彬
 * 
 * <br> 
 * 
 */
public class ProjectApplyEndAction {

	private ProjectService projectService;
	

	
	public ProjectService getProjectService() {
		return projectService;
	}



	public void setProjectService(ProjectService projectService) {
		this.projectService = projectService;
	}



	public String execute(){
		String result = ActionResult.fail;
	
		if(projectService.applyEnd())
		{
			result = ActionResult.success;
		}
		
		return result ;
	}
}
